<!--<?php
include_once PrintEot('left');
print <<<EOT
-->
<form action="{$basename}&action=edit" method="post">
<h2 class="h1">经纪人组权限编辑</h2>
<div class="admin_table mb10">
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr class="tr1">
			<td class="td1">经纪人组头衔</td>
			<td class="td2">
				<select name="groupid" onchange="window.location.href='{$basename}&action=edit&groupid='+this.value" class="select_wa">
<!--
EOT;
foreach($groups as $value){
$selected = $value[groupid] == $groupid ? 'selected="selected"' : '';
print <<<EOT
-->
					<option value="{$value[groupid]}" $selected>$value[name]</option>
<!--
EOT;
}
print <<<EOT
-->
				</select>
			</td>
		</tr>
	</table>
</div>

<h2 class="h1">基本权限</h2>
<input type="hidden" name="step" value="2" />
<div class="admin_table mb10">
	<table width="100%" cellspacing="0" cellpadding="0">
		<tr class="tr1">
			<td class="td1">是否允许发布二手房</td>
			<td class="td2">
				<ul class="list_A list_80 cc">
					<li><input type="radio" name="right[ifsale]" value="1" $ifsale_Y />开启</li>
					<li><input type="radio" name="right[ifsale]" value="0" $ifsale_N />关闭</li>
				</ul>
			</td>
			<td class="td2">&nbsp;</td>
		</tr>
		<tr class="tr1">
			<td class="td1">每天二手房发布数量</td>
			<td class="td2"><input type="text" class="input input_wa" name="right[salenum]" value="{$groupInfo[right][salenum]}" /> </td>
			<td class="td2"><div class="help_a">0 或 留空 表示没限制</div></td>
		</tr>
		<tr class="tr1">
			<td class="td1">是否允许发布租房</td>
			<td class="td2">
				<ul class="list_A list_80 cc">
					<li><input type="radio" name="right[ifhire]" value="1" $ifhire_Y />开启</li>
					<li><input type="radio" name="right[ifhire]" value="0" $ifhire_N />关闭</li>
				</ul>
			</td>
			<td class="td2">&nbsp;</td>
		</tr>
		<tr class="tr1">
			<td class="td1">每天租房发布数量</td>
			<td class="td2"><input type="text" class="input input_wa" name="right[hirenum]" value="{$groupInfo[right][hirenum]}"  /> </td>
			<td class="td2"><div class="help_a">0 或 留空 表示没限制</div></td>
		</tr>
	</table>
</div>
<div class="tac mb10">
	<span class="btn" id="submit"><span><button onfocus="blur();" type="submit">提 交</button></span></span>
</div>
</form>
<!--
EOT;
include_once PrintEot('adminbottom');
?>-->